package com.liangsui.mss.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName statistics_drug
 */
@TableName(value ="statistics_drug")
@Data
public class Drug extends BaseEntity implements Serializable {
    /**
     * 药品id
     */
    @TableId(value = "medicines_id")
    private Long medicinesId;

    /**
     * 药品名
     */
    @TableField(value = "medicines_name")
    private String medicinesName;

    /**
     * 订单数量
     */
    @TableField(value = "num")
    private Long num;

    /**
     * 单价
     */
    @TableField(value = "price")
    private Long price;

    /**
     *  金额
     */
    @TableField(value = "amount")
    private Long amount;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}